package com.danbay.cloud.account.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author SJG
 *         2017/12/26.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_account_group")
public class AccountGroup {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 分组名
     */
    private String groupName;
    /**
     * 父级组ID，根节点填0
     */
    private Integer parentId;
    /**
     * 描述
     */
    private String description;
    /**
     * 0:未删除、1:已删除
     */
    private Boolean del;
}
